package com.barunsw.bwf.docu_server.board;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface BoardDao {
	public int getTotalCount();
	
	public List<BoardVo> getBoardList(
			@Param("startPos") int startPos, 
			@Param("endPos") int endPos);
	
	public List<BoardVo> getSearchList(
			@Param("searchKey") String searchKey, 
			@Param("search")String search,
			@Param("dateOption")String dateOption
			);
	
	public BoardVo getReadContent(String search);
	public int insertContent(BoardVo boardVo);
	public int deleteContent(String search);
    public int updateReadCount(String seq);
}
